home *** CD-ROM | disk | FTP | other *** search
/ Ubisoft Winter Line-Up 2005 (Germany) / Ubisoft Winter Line-Up 2005 (Germany).iso / html / images / barreubi.php < prev    next >
Text File  |  2005-06-10  |  3KB  |  65 lines

  1.     function getToolbar() {
  2.         var the_beginning, the_end;
  3.         var welcome, login, signup, games, community, support, shopping;
  4.         var separator = "  |  ";
  5.     
  6.         the_beginning = "";
  7.         the_beginning += '<link href="http://ubibar.ubi.com/css/stylesheet.css" rel="stylesheet" type="text/css">';
  8.         the_beginning += '<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">';
  9.         the_beginning += '    <tr>';
  10.         the_beginning += '        <td align="center">';
  11.         the_beginning += '            <table width="750" border="0" cellspacing="0" cellpadding="0">';
  12.         the_beginning += '                <tr>';
  13.         the_beginning += '                    <td width="108"><a href="http://www.ubi.com/"><img src="http://ubibar.ubi.com/images/logo_ubisoft_topbar.gif" width="108" height="39" border="0"></a></td>';
  14.         the_beginning += '                    <td align="right" valign="middle" class="ubibar">';
  15.     
  16.         the_end = "";
  17.         the_end += '                    </td>';
  18.         the_end += '                </tr>';
  19.         the_end += '            </table>';
  20.         the_end += '        </td>';
  21.         the_end += '    </tr>';
  22.         the_end += '    <tr>';
  23.         the_end += '        <td bgcolor="#666666"><img src="../home-Dateien/images/b.gif" width="1" height="1"></td>';
  24.         the_end += '    </tr>';
  25.         the_end += '</table>';
  26.     
  27.             welcome = 'Welcome Guest';
  28.         login   = '<a href="https://secure.ubi.com/login/Login.aspx?lang=en-GB&skin=default&NextURL=http%3A%2F%2Fe3.ubisoft.com%2Frubrique.php3%3Fid_rubrique%3D12" class="ubibar">LOG IN</a>';
  29.         signup  = '<a href="https://secure.ubi.com/login/CreateUser.aspx?lang=en-GB&skin=default&NextURL=http%3A%2F%2Fe3.ubisoft.com%2Frubrique.php3%3Fid_rubrique%3D12" class="ubibar">SIGN UP</a>';
  30.     
  31.         games     = '<a href="http://www.ubi.com/UK/Games/" class="ubibar">GAMES</a>';
  32.         community = '<a href="http://www.ubi.com/UK/Community/" class="ubibar">COMMUNITY</a>';
  33.         support   = '<a href="http://www.ubireg.com/uk/" class="ubibar">SUPPORT</a>';
  34.         shopping  = '<a href="http://shop.ubisoft.co.uk/" class="ubibar">SHOPPING</a>';
  35.     
  36.         return the_beginning
  37.             + welcome + separator 
  38.             + login + separator 
  39.             + signup + separator 
  40.             + games + separator 
  41.             + community + separator 
  42.             + support + separator 
  43.             + shopping
  44.             + the_end;
  45.     }
  46.     
  47.     function displayToolbar() {
  48.         document.write(getToolbar());
  49.     }
  50.  
  51.     function getPreferredLocalization() {
  52.         return 'de';
  53.     }
  54.  
  55.     function getLegalLocalization() {
  56.             return 'de';
  57.         }
  58.  
  59.     function getRatingParameter() {
  60.             return -1;
  61.         }
  62.  
  63.         displayToolbar();
  64.     
  65.